package org.sxp.modules.datasource.dto;

import lombok.Data;

import java.util.List;

/**
 * @author shenxingping
 * @date 2022/02/11
 */
@Data
public class PubTableDTO {
    private String id;

    private String text;

    private List<Children> children;

    @Data
    public class  Children{
        private String text = "表";
        private List<TableChildren> children;
    }

    @Data
    public class TableChildren{
        private String id;
        private String text;
        private String state = "closed";
        private List<ColumnChildren> children;
    }

    @Data
    public class ColumnChildren{
        private String text;
    }
}
